Integrand size = 24, antiderivative size = 161 \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {c+a^2 c x^2}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}-\frac {15 \sqrt {\frac {\pi }{2}} \sqrt {1+a^2 x^2} \operatorname {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{4 a^2 c \sqrt {c+a^2 c x^2}} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5050, 5018, 5025, 5024, 3385, 3433} \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=-\frac {15 \sqrt {\frac {\pi }{2}} \sqrt {a^2 x^2+1} \operatorname {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{4 a^2 c \sqrt {a^2 c x^2+c}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {a^2 c x^2+c}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {a^2 c x^2+c}}+\frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {a^2 c x^2+c}} \]
[In]
[Out]
Rule 3385
Rule 3433
Rule 5018
Rule 5024
Rule 5025
Rule 5050
Rubi steps \begin{align*} \text {integral}& = -\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 \int \frac {\arctan (a x)^{3/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx}{2 a} \\ & = \frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {c+a^2 c x^2}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}-\frac {15 \int \frac {1}{\left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}} \, dx}{8 a} \\ & = \frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {c+a^2 c x^2}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}-\frac {\left (15 \sqrt {1+a^2 x^2}\right ) \int \frac {1}{\left (1+a^2 x^2\right )^{3/2} \sqrt {\arctan (a x)}} \, dx}{8 a c \sqrt {c+a^2 c x^2}} \\ & = \frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {c+a^2 c x^2}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}-\frac {\left (15 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\cos (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{8 a^2 c \sqrt {c+a^2 c x^2}} \\ & = \frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {c+a^2 c x^2}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}-\frac {\left (15 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \cos \left (x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{4 a^2 c \sqrt {c+a^2 c x^2}} \\ & = \frac {15 \sqrt {\arctan (a x)}}{4 a^2 c \sqrt {c+a^2 c x^2}}+\frac {5 x \arctan (a x)^{3/2}}{2 a c \sqrt {c+a^2 c x^2}}-\frac {\arctan (a x)^{5/2}}{a^2 c \sqrt {c+a^2 c x^2}}-\frac {15 \sqrt {\frac {\pi }{2}} \sqrt {1+a^2 x^2} \operatorname {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{4 a^2 c \sqrt {c+a^2 c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.18 (sec) , antiderivative size = 139, normalized size of antiderivative = 0.86 \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\frac {4 \arctan (a x) \left (15+10 a x \arctan (a x)-4 \arctan (a x)^2\right )+15 i \sqrt {1+a^2 x^2} \sqrt {-i \arctan (a x)} \Gamma \left (\frac {1}{2},-i \arctan (a x)\right )-15 i \sqrt {1+a^2 x^2} \sqrt {i \arctan (a x)} \Gamma \left (\frac {1}{2},i \arctan (a x)\right )}{16 a^2 c \sqrt {c+a^2 c x^2} \sqrt {\arctan (a x)}} \]
[In]
[Out]
\[\int \frac {x \arctan \left (a x \right )^{\frac {5}{2}}}{\left (a^{2} c \,x^{2}+c \right )^{\frac {3}{2}}}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
\[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\int { \frac {x \arctan \left (a x\right )^{\frac {5}{2}}}{{\left (a^{2} c x^{2} + c\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x \arctan (a x)^{5/2}}{\left (c+a^2 c x^2\right )^{3/2}} \, dx=\int \frac {x\,{\mathrm {atan}\left (a\,x\right )}^{5/2}}{{\left (c\,a^2\,x^2+c\right )}^{3/2}} \,d x \]
[In]
[Out]